﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace MedicalSystem.SamrtReport.Toolbox.Configuration
{
   public class ToolboxControlCollection:ConfigurationElementCollection
    {
       protected override ConfigurationElement CreateNewElement()
       {
           return new ToolboxControlElement();
       }
       protected override object GetElementKey(ConfigurationElement element)
       {
           ToolboxControlElement toolboxControlElement = element as ToolboxControlElement;
           return toolboxControlElement.Name;
       }
    }
}
